package org.linuxsogood.boot.pojo;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author honway.liu
 * @date 2016/11/6 下午2:09
 * @email gm100861@gmail.com
 * @blog http://linuxsogood.org
 */
@Component
public class Person {

    static {
        System.out.println("静态代码块被执行了.");
        System.out.println("a");
    }

    private String name;
    private String address;
    private Integer age;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
}
